import 'package:flutter/cupertino.dart';
import 'package:get/get.dart';
import 'package:viser_remit/core/utils/my_images.dart';
import 'package:viser_remit/core/utils/my_strings.dart';

import '../../model/general_setting/general_setting_response_model.dart';

class OnboardController extends GetxController {
  int currentIndex = 0;
  PageController? controller = PageController();

  void setCurrentIndex(int index) {
    currentIndex = index;
    update();
  }

  List<String> onboardTitleList = [
    MyStrings.onboardTitle_1,
    MyStrings.onboardTitle_2,
    MyStrings.onboardTitle_3,
  ];

  List<String> onboardSubTitleList = [
    MyStrings.onboardSubTitle_1,
    MyStrings.onboardSubTitle_2,
    MyStrings.onboardSubTitle_3,
  ];

  // List<String> onboardImageList = [
  //   MyImages.onboardFirstImage,
  //   MyImages.onboardSecondImage,
  //   MyImages.onboardThirdImage,
  //   MyImages.onboardFourthImage,
  // ];

  bool isLoading = true;

  GeneralSettingResponseModel generalSettingResponseModel = GeneralSettingResponseModel();

  List<String> onBoardImage = [];


  PageController pageController = PageController();

  List<String> onboardImageList = [
    MyImages.onboardSecondImage,
    MyImages.onboardFirstImage,
    MyImages.onboardThirdImage,
  ];

  void changeCurrentIndex(int index){
    currentIndex = index;
    update();
  }

  bool isShowBottomShape = false;
  bool isShowTopShape = false;

}
